package com.zj.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
    public HelloController(){
        System.out.println("HelloController create");
    }

    @RequestMapping("hello")
    public String hello(){
        System.out.println("hello springMVC!");
        return "hello";
    }
}
